<?php

class HDbConnection {
	function __construct() { }
	
	public static function connect() {
		mysql_connect($this->_server, $this->_user, $this->_pwd);
		mysql_select_db($this->_dbname);
	}
	
	public static function close() {
		mysql_close();
	}
	
	public $_server;
	public $_user;
	public $_pwd;
	public $_dbname;
}